<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    <input type="hidden" name="row[id]" value="{$row.id}"/>
    {if condition="$row.worker_id > 0"}
    <div class="alert alert-danger-light">
        当前已经分配了技师【{$row['worker_name']}】，如果重新派单，将会取消该技师的派单！
    </div>
    {/if}
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Sn')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-sn" disabled data-rule="required" class="form-control" name="row[sn]" type="text" value="{$row.sn|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">快递信息:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="radio">
                <label for="row[status]-1"><input id="row[status]-1" name="row[status]" type="radio" value="1" checked /> 需要快递</label> 
                <label for="row[status]-2"><input id="row[status]-2" name="row[status]" type="radio" value="2"  /> 无需快递</label> 
            </div>
        </div>
    </div>
    <div class="form-group hidden" data-favisible="status=1" >
        <label class="control-label col-xs-12 col-sm-2">快递公司:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-kd_gs"   class="form-control " name="row[kd_gs]" type="text" value="{$row.kd_gs|htmlentities}">
        </div>
        <label class="control-label col-xs-12 col-sm-2">快递单号:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-kd_sn"   class="form-control " name="row[kd_sn]" type="text" value="{$row.kd_sn|htmlentities}">
        </div>
    </div>
    

    <div class="form-group layer-footer">
        <div class="col-xs-12 col-sm-12">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
<style>
    .control-label{
        font-weight: bold !important;
    }
</style>